.class public Lcom/a0soft/gphone/app2sd/a/a;
.super Ljava/lang/Object;
.source "AppMgr.java"


# static fields
.field private static final g:Ljava/lang/String;


# instance fields
.field private a:Z

.field private b:Z

.field private c:Lcom/a0soft/gphone/app2sd/a/d;

.field private d:Ljava/util/concurrent/ConcurrentHashMap;

.field private e:Ljava/lang/reflect/Method;

.field private f:Z


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    .line 39
    const-class v0, Lcom/a0soft/gphone/app2sd/a/a;

    invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/a0soft/gphone/app2sd/a/a;->g:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 43
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 44
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/a/a;->a()V

    .line 45
    return-void
.end method

.method static synthetic a(Lcom/a0soft/gphone/app2sd/a/a;)Ljava/util/concurrent/ConcurrentHashMap;
    .locals 1
    .parameter

    .prologue
    .line 23
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    return-object v0
.end method

.method private a(Landroid/content/pm/PackageManager;Lcom/a0soft/gphone/app2sd/a/g;)V
    .locals 7
    .parameter
    .parameter

    .prologue
    const/4 v6, 0x1

    .line 377
    iget-object v0, p2, Lcom/a0soft/gphone/app2sd/a/g;->a:Ljava/lang/String;

    .line 382
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->e:Ljava/lang/reflect/Method;

    if-nez v1, :cond_0

    .line 385
    :try_start_0
    const-string v1, "android.content.pm.PackageManager"

    invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v1

    .line 386
    const-string v2, "getPackageSizeInfo"

    const/4 v3, 0x2

    new-array v3, v3, [Ljava/lang/Class;

    const/4 v4, 0x0

    const-class v5, Ljava/lang/String;

    aput-object v5, v3, v4

    const/4 v4, 0x1

    const-class v5, Landroid/content/pm/IPackageStatsObserver;

    aput-object v5, v3, v4

    invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;

    move-result-object v1

    iput-object v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->e:Ljava/lang/reflect/Method;

    .line 388
    const/4 v1, 0x0

    iput-boolean v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->f:Z
    :try_end_0
    .catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_0
    .catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1

    .line 402
    :cond_0
    :goto_0
    iget-boolean v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->f:Z

    if-nez v1, :cond_1

    .line 404
    :try_start_1
    iget-object v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->e:Ljava/lang/reflect/Method;

    const/4 v2, 0x2

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    aput-object v0, v2, v3

    const/4 v0, 0x1

    new-instance v3, Lcom/a0soft/gphone/app2sd/a/f;

    invoke-direct {v3, p2}, Lcom/a0soft/gphone/app2sd/a/f;-><init>(Lcom/a0soft/gphone/app2sd/a/g;)V

    aput-object v3, v2, v0

    invoke-virtual {v1, p1, v2}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
    :try_end_1
    .catch Ljava/lang/IllegalAccessException; {:try_start_1 .. :try_end_1} :catch_3
    .catch Ljava/lang/reflect/InvocationTargetException; {:try_start_1 .. :try_end_1} :catch_2

    .line 415
    :cond_1
    :goto_1
    return-void

    .line 393
    :catch_0
    move-exception v1

    iput-boolean v6, p0, Lcom/a0soft/gphone/app2sd/a/a;->f:Z

    goto :goto_0

    .line 398
    :catch_1
    move-exception v1

    iput-boolean v6, p0, Lcom/a0soft/gphone/app2sd/a/a;->f:Z

    goto :goto_0

    :catch_2
    move-exception v0

    goto :goto_1

    .line 413
    :catch_3
    move-exception v0

    goto :goto_1
.end method

.method private static a(Landroid/os/Handler;J)V
    .locals 1
    .parameter
    .parameter

    .prologue
    const/16 v0, 0x65

    .line 366
    invoke-static {p0}, Lcom/a0soft/gphone/app2sd/a/f;->a(Landroid/os/Handler;)Landroid/os/Handler;

    .line 367
    invoke-static {}, Lcom/a0soft/gphone/app2sd/a/f;->a()I

    .line 368
    invoke-static {p1, p2}, Lcom/a0soft/gphone/app2sd/a/f;->a(J)J

    .line 370
    invoke-virtual {p0, v0}, Landroid/os/Handler;->removeMessages(I)V

    .line 371
    invoke-virtual {p0, v0}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 372
    return-void
.end method

.method static synthetic b(Lcom/a0soft/gphone/app2sd/a/a;)Z
    .locals 1
    .parameter

    .prologue
    .line 23
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->a:Z

    return v0
.end method

.method static synthetic c(Lcom/a0soft/gphone/app2sd/a/a;)Z
    .locals 1
    .parameter

    .prologue
    .line 23
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->b:Z

    return v0
.end method

.method static synthetic d(Lcom/a0soft/gphone/app2sd/a/a;)Lcom/a0soft/gphone/app2sd/a/d;
    .locals 1
    .parameter

    .prologue
    .line 23
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    return-object v0
.end method


# virtual methods
.method public final a(Landroid/content/pm/PackageManager;Landroid/content/pm/PackageInfo;)Lcom/a0soft/gphone/app2sd/a/g;
    .locals 4
    .parameter
    .parameter

    .prologue
    const/4 v3, 0x0

    .line 254
    iget-object v1, p2, Landroid/content/pm/PackageInfo;->packageName:Ljava/lang/String;

    .line 255
    if-nez v1, :cond_1

    move-object v0, v3

    .line 277
    :cond_0
    :goto_0
    return-object v0

    .line 259
    :cond_1
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0, v1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 260
    if-nez v0, :cond_0

    .line 268
    new-instance v0, Lcom/a0soft/gphone/app2sd/a/g;

    invoke-direct {v0, p1, p2}, Lcom/a0soft/gphone/app2sd/a/g;-><init>(Landroid/content/pm/PackageManager;Landroid/content/pm/PackageInfo;)V

    .line 271
    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/g;->j()Z

    move-result v2

    if-nez v2, :cond_2

    move-object v0, v3

    goto :goto_0

    .line 273
    :cond_2
    iget-object v2, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v2, v1, v0}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    .line 275
    const/4 v1, 0x1

    iput-boolean v1, p0, Lcom/a0soft/gphone/app2sd/a/a;->a:Z

    goto :goto_0
.end method

.method public final a(Landroid/content/pm/PackageManager;Ljava/lang/String;)Lcom/a0soft/gphone/app2sd/a/g;
    .locals 2
    .parameter
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 230
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0, p2}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 231
    if-eqz v0, :cond_0

    .line 248
    :goto_0
    return-object v0

    .line 238
    :cond_0
    const/4 v0, 0x0

    :try_start_0
    invoke-virtual {p1, p2, v0}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
    :try_end_0
    .catch Landroid/content/pm/PackageManager$NameNotFoundException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    .line 246
    if-nez v0, :cond_1

    move-object v0, v1

    goto :goto_0

    .line 244
    :catch_0
    move-exception v0

    move-object v0, v1

    goto :goto_0

    .line 248
    :cond_1
    invoke-virtual {p0, p1, v0}, Lcom/a0soft/gphone/app2sd/a/a;->a(Landroid/content/pm/PackageManager;Landroid/content/pm/PackageInfo;)Lcom/a0soft/gphone/app2sd/a/g;

    move-result-object v0

    goto :goto_0
.end method

.method public final a(Ljava/lang/String;)Lcom/a0soft/gphone/app2sd/a/g;
    .locals 1
    .parameter

    .prologue
    .line 110
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    if-nez v0, :cond_0

    .line 111
    const/4 v0, 0x0

    .line 113
    :goto_0
    return-object v0

    :cond_0
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/a0soft/gphone/app2sd/a/g;

    move-object v0, p0

    goto :goto_0
.end method

.method public final a()V
    .locals 2

    .prologue
    .line 53
    const/4 v0, 0x1

    iput-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->a:Z

    .line 54
    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->b:Z

    .line 56
    new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;

    const/16 v1, 0x80

    invoke-direct {v0, v1}, Ljava/util/concurrent/ConcurrentHashMap;-><init>(I)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    .line 57
    return-void
.end method

.method public final a(Landroid/content/Context;Landroid/os/Handler;)Z
    .locals 7
    .parameter
    .parameter

    .prologue
    .line 285
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v1

    .line 286
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->size()I

    move-result v0

    int-to-long v2, v0

    invoke-static {p2, v2, v3}, Lcom/a0soft/gphone/app2sd/a/a;->a(Landroid/os/Handler;J)V

    .line 295
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :cond_0
    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_1

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 296
    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/g;->i()V

    .line 299
    iget-wide v3, v0, Lcom/a0soft/gphone/app2sd/a/g;->f:J

    const-wide/16 v5, 0x0

    cmp-long v3, v3, v5

    if-gez v3, :cond_0

    .line 300
    invoke-direct {p0, v1, v0}, Lcom/a0soft/gphone/app2sd/a/a;->a(Landroid/content/pm/PackageManager;Lcom/a0soft/gphone/app2sd/a/g;)V

    goto :goto_0

    .line 303
    :cond_1
    const/4 v0, 0x1

    return v0
.end method

.method public final a(Landroid/content/Context;Lcom/a0soft/gphone/app2sd/a/e;)Z
    .locals 3
    .parameter
    .parameter

    .prologue
    const/4 v2, 0x1

    const/4 v1, 0x0

    .line 76
    iget-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->b:Z

    if-eqz v0, :cond_1

    .line 77
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    if-eqz v0, :cond_0

    .line 78
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0, p2}, Lcom/a0soft/gphone/app2sd/a/d;->a(Lcom/a0soft/gphone/app2sd/a/e;)V

    .line 79
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0, p1}, Lcom/a0soft/gphone/app2sd/a/d;->a(Landroid/content/Context;)V

    :cond_0
    move v0, v1

    .line 98
    :goto_0
    return v0

    .line 84
    :cond_1
    iget-boolean v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->a:Z

    if-nez v0, :cond_2

    .line 85
    invoke-interface {p2, v1}, Lcom/a0soft/gphone/app2sd/a/e;->a(Z)V

    move v0, v2

    .line 86
    goto :goto_0

    .line 89
    :cond_2
    iput-boolean v2, p0, Lcom/a0soft/gphone/app2sd/a/a;->b:Z

    .line 91
    new-instance v0, Lcom/a0soft/gphone/app2sd/a/d;

    invoke-direct {v0, p0, p1}, Lcom/a0soft/gphone/app2sd/a/d;-><init>(Lcom/a0soft/gphone/app2sd/a/a;Landroid/content/Context;)V

    iput-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    .line 92
    if-eqz p2, :cond_3

    .line 93
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0, p2}, Lcom/a0soft/gphone/app2sd/a/d;->a(Lcom/a0soft/gphone/app2sd/a/e;)V

    .line 94
    :cond_3
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0, p1}, Lcom/a0soft/gphone/app2sd/a/d;->a(Landroid/content/Context;)V

    .line 96
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    new-array v1, v1, [Ljava/lang/Void;

    invoke-virtual {v0, v1}, Lcom/a0soft/gphone/app2sd/a/d;->b([Ljava/lang/Object;)Lcom/a0soft/gphone/aSys/a;

    move v0, v2

    .line 98
    goto :goto_0
.end method

.method public final a(Landroid/content/Context;Lcom/a0soft/gphone/app2sd/a/g;Landroid/os/Handler;)Z
    .locals 3
    .parameter
    .parameter
    .parameter

    .prologue
    .line 311
    invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;

    move-result-object v0

    .line 312
    const-wide/16 v1, 0x1

    invoke-static {p3, v1, v2}, Lcom/a0soft/gphone/app2sd/a/a;->a(Landroid/os/Handler;J)V

    .line 321
    invoke-virtual {p2}, Lcom/a0soft/gphone/app2sd/a/g;->i()V

    .line 322
    invoke-direct {p0, v0, p2}, Lcom/a0soft/gphone/app2sd/a/a;->a(Landroid/content/pm/PackageManager;Lcom/a0soft/gphone/app2sd/a/g;)V

    .line 324
    const/4 v0, 0x1

    return v0
.end method

.method public final a(ZZZI)[Ljava/lang/String;
    .locals 9
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    const/4 v8, 0x1

    const/4 v7, 0x0

    .line 127
    invoke-static {}, Lcom/a0soft/gphone/app2sd/main/CoreApp;->h()Lcom/a0soft/gphone/app2sd/main/CoreApp;

    move-result-object v1

    .line 128
    if-eqz p1, :cond_2

    if-nez p2, :cond_2

    move v2, v8

    .line 129
    :goto_0
    invoke-static {v1}, Lcom/a0soft/gphone/app2sd/main/PrefWnd;->f(Landroid/content/Context;)Z

    move-result v3

    .line 131
    new-instance v4, Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->size()I

    move-result v0

    invoke-direct {v4, v0}, Ljava/util/ArrayList;-><init>(I)V

    .line 132
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v5

    :cond_0
    :goto_1
    invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_4

    invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 133
    if-eqz v3, :cond_1

    if-eqz v2, :cond_1

    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/g;->f()Ljava/lang/String;

    move-result-object v6

    invoke-static {v1, v6}, Lcom/a0soft/gphone/app2sd/main/PrefWnd;->a(Landroid/content/Context;Ljava/lang/String;)Z

    move-result v6

    if-nez v6, :cond_0

    .line 135
    :cond_1
    if-eqz p1, :cond_3

    .line 139
    iget-boolean v6, v0, Lcom/a0soft/gphone/app2sd/a/g;->d:Z

    if-eqz v6, :cond_0

    .line 141
    iget-boolean v6, v0, Lcom/a0soft/gphone/app2sd/a/g;->e:Z

    if-ne v6, p2, :cond_0

    .line 142
    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/g;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_2
    move v2, v7

    .line 128
    goto :goto_0

    .line 145
    :cond_3
    iget-boolean v6, v0, Lcom/a0soft/gphone/app2sd/a/g;->d:Z

    if-nez v6, :cond_0

    .line 146
    iget-boolean v6, v0, Lcom/a0soft/gphone/app2sd/a/g;->e:Z

    if-nez v6, :cond_0

    .line 147
    iget-boolean v6, v0, Lcom/a0soft/gphone/app2sd/a/g;->c:Z

    if-eqz v6, :cond_0

    .line 149
    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/g;->f()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    .line 153
    :cond_4
    invoke-virtual {v4}, Ljava/util/ArrayList;->size()I

    move-result v0

    new-array v0, v0, [Ljava/lang/String;

    invoke-virtual {v4, v0}, Ljava/util/ArrayList;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object v0

    check-cast v0, [Ljava/lang/String;

    .line 154
    if-nez v0, :cond_5

    new-array v0, v7, [Ljava/lang/String;

    .line 157
    :cond_5
    array-length v3, v0

    if-le v3, v8, :cond_6

    .line 159
    if-eqz p3, :cond_7

    .line 160
    :try_start_0
    new-instance v3, Lcom/a0soft/gphone/app2sd/a/b;

    invoke-direct {v3, p0, v2, v1}, Lcom/a0soft/gphone/app2sd/a/b;-><init>(Lcom/a0soft/gphone/app2sd/a/a;ZLandroid/content/Context;)V

    invoke-static {v0, v3}, Ljava/util/Arrays;->sort([Ljava/lang/Object;Ljava/util/Comparator;)V

    .line 224
    :cond_6
    :goto_2
    return-object v0

    .line 176
    :cond_7
    new-instance v3, Lcom/a0soft/gphone/app2sd/a/c;

    invoke-direct {v3, p0, v2, v1, p4}, Lcom/a0soft/gphone/app2sd/a/c;-><init>(Lcom/a0soft/gphone/app2sd/a/a;ZLandroid/content/Context;I)V

    invoke-static {v0, v3}, Ljava/util/Arrays;->sort([Ljava/lang/Object;Ljava/util/Comparator;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_2

    :catch_0
    move-exception v1

    goto :goto_2
.end method

.method public final b()V
    .locals 1

    .prologue
    .line 62
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    if-eqz v0, :cond_0

    .line 63
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/d;->f()V

    .line 64
    :cond_0
    return-void
.end method

.method public final c()V
    .locals 1

    .prologue
    .line 69
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    if-eqz v0, :cond_0

    .line 70
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->c:Lcom/a0soft/gphone/app2sd/a/d;

    invoke-virtual {v0}, Lcom/a0soft/gphone/app2sd/a/d;->g()V

    .line 71
    :cond_0
    return-void
.end method

.method public final d()Z
    .locals 8

    .prologue
    const-wide/16 v6, 0x0

    .line 332
    .line 333
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    move-wide v1, v6

    :cond_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 334
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/a/g;->b()J

    move-result-wide v3

    .line 335
    cmp-long v5, v3, v6

    if-lez v5, :cond_0

    .line 336
    add-long/2addr v1, v3

    .line 337
    const-wide/32 v3, 0x7d000

    cmp-long v3, v1, v3

    if-ltz v3, :cond_0

    .line 338
    const/4 v0, 0x1

    .line 342
    :goto_0
    return v0

    :cond_1
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public final e()J
    .locals 8

    .prologue
    const-wide/16 v6, 0x0

    .line 350
    .line 351
    iget-object v0, p0, Lcom/a0soft/gphone/app2sd/a/a;->d:Ljava/util/concurrent/ConcurrentHashMap;

    invoke-virtual {v0}, Ljava/util/concurrent/ConcurrentHashMap;->values()Ljava/util/Collection;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;

    move-result-object v0

    move-wide v1, v6

    :cond_0
    :goto_0
    invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p0

    check-cast p0, Lcom/a0soft/gphone/app2sd/a/g;

    .line 352
    invoke-virtual {p0}, Lcom/a0soft/gphone/app2sd/a/g;->b()J

    move-result-wide v3

    .line 355
    cmp-long v5, v3, v6

    if-lez v5, :cond_0

    .line 356
    add-long/2addr v1, v3

    goto :goto_0

    .line 358
    :cond_1
    return-wide v1
.end method
